Move template specializations to source file.

We should also now have working string flags which brings us about
60% to being done with surtrstudios/weyland#3.