Updated Ports and constants.