Added type hinting to VersionController's comparison closure.