Fix usage of require.