Classes for handling regions, i.e. parts of files.