LatteExtension: public API for registering custom Latte macros.