Better class declaration