Moving dependencies into library.