Deleting genclass