Added copyright and licence headers.