add realtime templates for swig