More documentation and improved the colour class