I guess I can use Parser::stripSectionName here with the addition of removing the templates from text as well.