Deprecate dbSetDataMappings. Closes #9
Add dbIsValid generic. Closes #12