[Refactoring] Adding sources in libraries.