Maple's template engine