Make compatible with require.js.