Removing listeners + other cleaning on detach.