checks for circular dependencies. more stable compiling/injecting.