Separate names and functions after vectorization