Added CORS support to data controllers.