Performance tweak.

Remove forEach callback.
Improve circular dependency handling performance.
0.5.0