Injections define a property, fixes #2022