Expand template declarations to include namespace.

* This solves a previous problem with swig being unable to compile due
  to being unable to find the type.
`load_cpp_files` now provides template instances.