Added support for mako namespace, inherit and block statements