* Fixed a ref in the parser
* Added portMode(port, mode)