format
Restore class methods when class did change