Add validators
Pass param declaration to validator
Support paramsValidation option for Api
Remove deprecated stuff