Open function is more robust.