Problem with injecting is that this is a definition object that's intended to easily serializable. That's an unsolved problem right now in core also.