Fix type in require.