Remove copyright info.
Simplify test for existence of key path.