Cleaning code on classpath resource retriever.