om: initial support for domain formatting of classes