Added copyright notices throughout as recommended.