Consolidate partition implementation.
Make VAST compile with Clang 3.5.