Moves attributes to controller