Add partial function utility.