Yuck. The type itself should be a different type from instances of the type, and therefore that error should be "function not found".
For the first one, constructors should generally do required init, although there are circumstances where that's very hard. Hence the builder pattern.