Autowire keyword instances to library