Here's a first stab at making a generic Volume-Init library that other templates can start with.