Add support for fragment locations.