Provide a better way to map to a display key.

This fixes #9668.

cc @redmunds