It would be nice to have CDI support in transformer classes. Sometimes you need data that only exists e.g. in the database - not in the class to transform from.