add package/gnu/patch step
use named parameter and lambda to handle missing method in run_method