Callbacks now function, but are mostly untested.