prefix and otype functions of the odb module