How to edit an existing class?