Register RevisionDiff class as a service.