Perliminary pointer support. Currently broken.
Some fixes