Added the ability to parse parenthisized terms in semantic decorations.