Makes @Template work with templates out of bundles