Swig templates for docs