Easier to use in AMD (requirejs)