New 'port' type. And minor docstrings updates