Either this method updates the `attributes` property or `setAttributes` must be defined as a method and `attributes` must be removed as a property