Instead of manually caching values, used the new decorator Also `flatten()` is now `flattened` property