Change `display` to `type` to make it match better with the intended use.