Fixes.
Fixes.
Accept arguments with same name as result (keep separate namespace),
Accept arguments as result input (automatic conversion),
Fix manual threshold input.