Added the open function from the Opener class