Allow vertices to define a `prepare_vertex` function which will be called just once at some point in the build process.