remove unnecessary initialisation
fix bug on first call to registerTranTypes
Merge pull request #6 from 0xor1/dev

dev -> master