DI: 'factories' may be (and should be) declared in 'services' section

The "generated" factories and accessors are recognized by used interface (or key 'implement'), older type of factories by key 'parameters'. Older type of factories without key 'parameters' must be defined in 'factories' section.