The present application relates to compounds of Formula (I), and Formula (II), or pharmaceutically acceptable salt thereof, wherein A, X, Y, Z, e, f, R1, R2, R3, R4, R5, R5b, R6, R7, R8, R9, R10, R11, R20, R21, R22 and R23 are defined herein. These novel pyridine derivatives that are useful in therapy, in particular for treating diseases or conditions mediated by Smo, including the treatment of abnormal cell growth, such as cancer, in mammals. Additional embodiments relate to methods of using such compounds in the treatment of abnormal cell growth in mammals, especially humans, and to pharmaceutical compositions containing such compounds.