Cleaned up store setting attachment in controller.