Use partial function.