Add currying functionality.