Now we can inject classes from methods