Simplified definition of VisualInputModel.setup_attributes