Copyright notice and licence added.