Replace require with a custom implementation