Filling in lots of gaps in the docs.