Add title formatter to support selection styling