Extended injection targeting ability in generic plugin