Added support for revisions