Change Entity#attributes= to Entity#attributes