fix for issue #3940

Inject property dependency using a parent class.