Add schema validation and templates for the four methods