got rid of dependency reference

A reference used within a class constructor made problems when used with reflection.
As the reference was not explicitly needed it was removed.