Add support for cyclic dependencies in require() calls.