Change API for changing parameters in GUI.