Implement attr_accessor_with_history