Removed the setPort method