Modified module and templates to provide access to the text node insertion method