expose HighlightPatch, TableRender via swig