Handling of open method.