Support instance for the constructor

Signed-off-by: Raghu <raghu.k@openly.co>