Added missing docs.
Tidying up a little.