made the Setter Inject support parent type