fixed display of expected parameters in methods viewer