Add the ability to disable callback creation. Fixes #32.

This turns out to be a performance bottleneck, and also seems to
fix the growing memory usage.