You already specified in SessionTypes Meterpreter why check here for it again?