Added a method to restrict send parameters based on schema