Make port argument optional.