1. Modify some function names.
2. Fix a crash which caused by forgetting to invoke removeAllObservers functions when destroy a class.