Change pointer to reference; kill the partial extension

@jonahgreenthal 

Fixes #35.