Added "data" parameter to callbacks.

This allows to use "data.context" in callbacks. Very useful.