Allow for by_value for ODM