Some schema cleanup.
Merge branch 'test' into dev