Completed templated DBDefs.pm