adding enums and compatibility to ddbc