Refactor so no resources need to be copied to use the library.