Cleanup Observer code.