Remove unused classes.
Change visibility on LogicExpression.