Little improvement for Template.hx

Added fallback in Template class. It can help to find out and/or resolve unresolved ::replacements::.