Dependency injection functions are now stored as type-unspecific. This makes them easier to use.
Tests are mostly about the fromClass() method, which processes annotations.