rewrite the classpath protocol as xcf