Remove dedicated callback function types. Improve consistency of callback function names.

Updates issue #11