Set up Swig templates.