Move compatibility code for 'port' attr., fixes de-announce being broken