Add unobserve method.