Adding support to private constructor