Added RequireJS compat.