Fix problems found by golint.
Constants are typically untyped.