class_replaceMethod is redundant, -dealloc is already replaced with new implementation

See #775