Improvements to parameters handling. Added shared schema.