Added support for reading and writing parameters.