Set previous_changes to {} when initializing attributes.