Tidied the code formatting.