Revert "Some typedefs for template specialisations to help swig"

Reverts G-Node/nix#365