Updated to match new paramest interface.