move 'isPort' from attributes to registry