Add support for genshi templates