Improvements to get to make templates more reusable (version 5)

Related with #1, #2, #3 and #4