Tidied settings and documentation.