Moved the clause logic up into a clause manager, which exists on
the scene.