Implemented unregister_callback with doubly linked list for callbacks.

#69