Resource method now can have autowired fields