Refactor destroyBindings a bit.