Bugfix: all base port's name defaulted to '' rather than None.