Remove source directive from DBDefs template (infer it instead)