Added support for different types of phrase definition elements to be displayed