Throw errors when rendering undefined template names