Twisted wrapper for common template systems