Illegal PUBLIC instance of PRIVATE class or type: <instance name>
You declared a Public instance of a Private user-defined data type or class, or a Public function or property that returns an instance of a Private class.
Make the class or type Public, or make the instance Private.