Preserve callback methods that are already set. Fixes #40.