Tidying up code formatting.