renamed to attr_memoized