@stof `connect()` ensures that it is set which called at the beginning of the method.