Even more optimizations for creating way revisions.