What happens if `name === ""`? Should we check also?