Add customArgsComparator to allow custom comparison of arguments.