Replacing for autowired