`diff` method got refactored.
diffmethod got refactored.