How to define Classes in Ecstasy