Updated documentation. Still needs improving.