Rewrote basic datatypes reflecting 0.5 specification. Temporarily disabled tests.