Tidied up documentation for public release