pascal.ijs: cleaned up Template class