Change setting of parameters back to function. Move capabilities to config.