Added passive mode parameter.