Use picard.util.partial instead of functools.partial