Making property inspector case agnostic for injecting