Fixes use of require