Add @memoized_property and @memoized_class_property decorators.