Added final clause to classes