Fixed name generation to respect Go's casing style. Fixes #1