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

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