I'm trying to set metadata for some nodes when they are generated. The dev wiki suggests using the on_construct callback, but unfortunately that doesn't seem to work if I generate them using a VoxelManip during mapgen. For now I'm having to set the metadata manually in the mapgen code.
Is this by design, and is there a nicer way to solve the problem?