Support callbacks that are not objects

Currently we only support objects with an __invoke method, which doesn't seem to be necessary.
I'm not sure, 'callback' seems more understandable to me.