Only resolve template when ensuring present