Added Type enum to DbDirectory (Issue #27)