The present invention provides compounds of Formula (I) or (II):or a stereoisomer, tautomer, pharmaceutically acceptable salt or solvate form thereof, wherein the variables A, L1, R3, R4, R8a, R11 and M are as defined herein. The compounds of Formula (I) or (II) are 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 or dual inhibitors of fXIa and plasma kallikrein. This invention also relates to pharmaceutical compositions comprising these compounds and methods of treating thromboembolic and/or inflammatory disorders using the same.