If `interface` and `ret_port` were even mentioned somewhere else in here, I might have been okay with it... but I see nothing to tell me to expect them, outside of these couple of lines.