Added copyright and documentation.