Fixed extending class.