Added specializations
...
Changed code that caused clang to crash