Might be nice to inject this the same way that `port` is injected, just for consistency's sake. Otherwise this looks good.