>Interesting that you are getting this error. I have used this method of creating a object reference on the fly for years, and never had a problem.
Note that I was getting the error when the object of the same class was added either in the class definition (i.e. via add object) or in the .init() - when I went for adding it later, no problem.