Added callback functions implementation.
Ignored failing test.