Adding the ability to ignore sessions when setting messages in the Template library. Mainly useful during unit tests.