Change `name` type to AccountName, not String