Adds statement class.