Improved typeid wrapper and implemented OCL getters with static buffers.