Defined diff API.