Attr_accessor_with_history done by cheating