Optional attribute added to input ports and related port types (this wasn't being tested for before, so it seemed advisable to add this option, to support old code)