Partially implement set/add/replace commands.