Implemented autoopen.