Add template tag to return the class name of an object