Extending support for easier lifetime management of ports