Added param routines and tests.