Demo -> Call Extended Tag returns other templates with master layout included. PrettyPrint is called additional two times breaking the layout. The other templates need to inherit from a 'base' layout, not from Main.