Added support for object notation in "inject" definitions.