Repaired require shim.