Removed port and unused code.