Added ability to customise the 'parameters' key.