Add modifyMVE, and migrate buffer functions to use it.