Clean up the classpath middleware