Add case-like convenience class.