add validation of required methods for providers