Adding validate template method to Service class.
Fixing annotation name.