Modified add_revision methods to implement optional revision switching.
0.2.4 release.