Fix domain class name resolution