Make class method definitions more consistent.
Update upgrade to migrate wiki pages to the new wiki revision table.