Porting docs

Bringing over some changes from another set of docs.