Added decoders for basic types