Adds a diff method