Added copyright headers where missing.