Comment out the deprecation of ref(). Otherwise, sys.ji fails to build.