added missing private constructor for internal api