Make callbacks instance data.

Jira issue: wp-1036