Fix access to private constructor