Use "Double" instead of "Float" for "float" in Kotlin
Use immutable fields in structs by default