[#189] Use `name` as default `code` property when is not present