Patched modules file to properly work.