Made the callback-function public again.

This way, the callback-function can be overwritten if necessary