Refactor to put all templates under one key in the Debugger object