Made public the readParameters method.