Implemented <template> checker