Copy event callbacks. Fixes #1