#121 throw XOException if non-registered type is used