Improved material definition modules.

Data-only material definition module stubs are now written with a well-formed
last line.