renamed to attr_memoizable