Use locally defined open.