Create attr_accessor_with_history