Added proper Template.php