Change API to read-only property `name`