Began to implement callbacks in the context menu