AddPort now takes const reference.