Fixing ObjetDirect dependencies