Added categorical to template schema