Proper initialization of pointers.

Closes #90.