Use platform string instead of enum