Added hook points for token creation

Fixes #77.