added methods to allow inlining jade compiling