When this method is used, it resets redo/undo history. Due to these templates are hard to use because our clients are losing previous designs when they try any of templates. Maybe there should be a second parameter to control the behaviour of this method