Broke out writing of parameter class to new class.