additions to set_predicate and object plugin