Supporting RequireJS AMD.