Try to make use of the rugged_remote wrapper for callbacks.