Sukesh,
Max & Peter
I do not think the problem is with dependencies and relationships.
The problem may that classes imported are not getting registered correctly for the compiler to know of their existence. (This may be a bug).
I would not rule out that in some circumstances it may actually be both :)
Looking forward to your feedback!
Ram�n
