Fixed curry/uncurry for vector functions.