(Bug 5116) Added boilerplate and standardised format.