Constructors called instead of factory functions