Register addon and pass callback.