Use constData instead of data in a variety of places.