Add command to pin objects (making them top-level objects)