Collapse Statement hierarchy into a single class.