Class for PHP to work with versions of data.