Fixed #9 - Allowing getting and setting the template. These methods are also used internally.