Fix private constructor.