Added design docs and tweaks to schema.