The convention could be cleaner.  Shouldn't have to repeat name.   Why not the mirror the file structure modules/$type/$name.xml  ?