Added partial function to handle function partial application.