Simplify the attribute_accessor example