The present invention provides compounds of Formula (I): or a stereoisomer, tautomer, pharmaceutically acceptable salt or solvate form thereof, wherein the variables A, L, Z, R3, and ring B are as defined herein. The compounds of Formula (I) are useful as selective inhibitors of serine protease enzymes of the coagulation cascade and/or contact activation system for example thrombin, factor Xa, factor XIa, factor IXa, factor VIIa and/or plasma kallikrein. In particular, it relates to compounds that are selective factor XIa inhibitors. This invention also relates to pharmaceutical compositions comprising these compounds and methods of treating thromboembolic and/or inflammatory disorders using the same.