added support for timeline event callbacks.