Add 'format' function, which converts from the selected object to a
displayable string.