serine-type endopeptidase inhibitor activity