Add loading into library