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

Related with #1, #2 and #3