Fxied a bug that NonModule properties could not be correctly used in injections.