Added support for aText and Papers2.