Syntax fix
Validate port datatypes
Fix processing function tests
Implement port default values, fixes #149