Refinements to syntax colouring.