Improve format of the definition tooltip