A compound of Formula IIb' or Formula IId': or a stereoisomer, tautomer, pharmaceutically acceptable salt, or hydrate thereof, wherein: Rings A and B may be optionally substituted with groups independently selected from deuterium, -NH 2, amino, heterocycle(C 4 -C 6), carbocycle(C 4 -C 6), halogen, -CN, -OH, -CF 3, alkyl(C 1 -C 6), thioalkyl(C 1 -C 6), alkenyl(C 1 -C 6), and alkoxy(C 1 -C 6); X is selected from -NH-, -CH 2 -, -CH 2 CH 2 -, -CH 2 CH 2 CH 2 -, -CH 2 CH 2 O-, -CH 2 CH 2 NH-, -CH 2 CH 2 S-,-C -, -C CH 2 -, -C CH 2 CH 2 -, -CH 2 C -, -CH 2 CH 2 C -, -C NH-, -C O-, -C S-, -C NHCH 2 -,-C OCH 2 -, -C SCH 2 -, -CH -, and -CH(CH 3)- where one or more hydrogen may independently be replaced with deuterium, hydroxy, methyl, halogen, -CF 3, ketone, and where S may be oxidized to sulfoxide or sulfone; R 4 is selected from 3-7 membered carbocycles and heterocycles, optionally substituted with groups independently selected from deuterium, alkyl(C 1 -C 4), alkoxy(C 1 -C 4), amino, halogen, amide,-CF 3, CN, -N 3, ketone (C 1 -C 4), -S Alkyl(C 1 -C 4), -SO 2 alkyl(C 1 -C 4), -thioalkyl(C 1 -C 4), carboxyl, and/or ester, each of which may be optionally substituted with hydrogen, F, Cl, Br, -OH, -NH 2, -NHMe,-OMe, -SMe, oxo, and/or thio-oxo; and D 1 is selected from the following 5-membered monocyclic heterocycles: which are optionally substituted with deuterium, alkyl(C 1 -C 4), alkoxy(C 1 -C 4), amino, halogen, amide, -CF 3, CN, -N 3, ketone (C 1 -C 4), -S Alkyl(C 1 -C 4), -SO 2 alkyl(C 1 -C 4), -thioalkyl(C 1 -C 4), -COOH, and/or ester, each of which may be optionally substituted with hydrogen, F, Cl, Br, -OH, -NH 2,-NHMe, -OMe, -SMe, oxo, and/or thio-oxo; wherein each amino, where present, has the form -NR d R e or -N(R d)R e -, where R d and R e are independently selected from alkyl, alkenyl, alkynyl, aryl, arylalkyl, carbamate, cycloalkyl, haloalkyl, heteroaryl, heterocycle, and hydrogen, and where R d and R e may be joined together to form a 3- to 12- membered ring, and wherein each amino is optionally substituted with at least one group selected from alkoxy, aryloxy, alkyl, alkenyl, alkynyl, amide, amino, aryl, arylalkyl, carbamate, carbonyl, carboxy, cyano, cycloalkyl, ester, ether, formyl, halogen, haloalkyl, heteroaryl, heterocyclyl, hydroxyl, ketone, phosphate, sulfide, sulfinyl, sulfonyl, sulfonic acid, sulfonamide, thioketone, ureido, and N. Rings A and B may be optionally substituted with groups independently selected from deuterium, -NH 2, amino, heterocycle(C 4 -C 6), carbocycle(C 4 -C 6), halogen, -CN, -OH, -CF 3, alkyl(C 1 -C 6), thioalkyl(C 1 -C 6), alkenyl(C 1 -C 6), and alkoxy(C 1 -C 6); X is selected from -NH-, -CH 2 -, -CH 2 CH 2 -, -CH 2 CH 2 CH 2 -, -CH 2 CH 2 O-, -CH 2 CH 2 NH-, -CH 2 CH 2 S-,-C -, -C CH 2 -, -C CH 2 CH 2 -, -CH 2 C -, -CH 2 CH 2 C -, -C NH-, -C O-, -C S-, -C NHCH 2 -,-C OCH 2 -, -C SCH 2 -, -CH -, and -CH(CH 3)- where one or more hydrogen may independently be replaced with deuterium, hydroxy, methyl, halogen, -CF 3, ketone, and where S may be oxidized to sulfoxide or sulfone; R 4 is selected from 3-7 membered carbocycles and heterocycles, optionally substituted with groups independently selected from deuterium, alkyl(C 1 -C 4), alkoxy(C 1 -C 4), amino, halogen, amide,-CF 3, CN, -N 3, ketone (C 1 -C 4), -S Alkyl(C 1 -C 4), -SO 2 alkyl(C 1 -C 4), -thioalkyl(C 1 -C 4), carboxyl, and/or ester, each of which may be optionally substituted with hydrogen, F, Cl, Br, -OH, -NH 2, -NHMe,-OMe, -SMe, oxo, and/or thio-oxo; and D 1 is selected from the following 5-membered monocyclic heterocycles: which are optionally substituted with deuterium, alkyl(C 1 -C 4), alkoxy(C 1 -C 4), amino, halogen, amide, -CF 3, CN, -N 3, ketone (C 1 -C 4), -S Alkyl(C 1 -C 4), -SO 2 alkyl(C 1 -C 4), -thioalkyl(C 1 -C 4), -COOH, and/or ester, each of which may be optionally substituted with hydrogen, F, Cl, Br, -OH, -NH 2,-NHMe, -OMe, -SMe, oxo, and/or thio-oxo; wherein each amino, where present, has the form -NR d R e or -N(R d)R e -, where R d and R e are independently selected from alkyl, alkenyl, alkynyl, aryl, arylalkyl, carbamate, cycloalkyl, haloalkyl, heteroaryl, heterocycle, and hydrogen, and where R d and R e may be joined together to form a 3- to 12- membered ring, and wherein each amino is optionally substituted with at least one group selected from alkoxy, aryloxy, alkyl, alkenyl, alkynyl, amide, amino, aryl, arylalkyl, carbamate, carbonyl, carboxy, cyano, cycloalkyl, ester, ether, formyl, halogen, haloalkyl, heteroaryl, heterocyclyl, hydroxyl, ketone, phosphate, sulfide, sulfinyl, sulfonyl, sulfonic acid, sulfonamide, thioketone, ureido, and N.