Added join deletion functionality.