Started code cleanup for the parameters editor.