Fix copyright
Remove declarations
Constify