const fixes.
Added support for pointers.

Pointers are opaque.
TODO: Add 'deref' property to pointers to access the actual object.