Remove events while we're not using them.