dclass: Rought first iteration revision of Switch.