Add the bits for Perl templating