Let embargo take an AbstractObject as well as a pid.