Arcane magic.
Implement support for pointer types in mkclass.
Test (WIP).
More arcane magic.