API uses an Int for the port number now.