Remove notification observers, cleanups.

Just a small cleanup that removes notification observers before deallocation.