In the future, doom-lib (among other things) will be byte-compiled as part of 'doom sync'. To spare runtime the overhead of checking for these functions, I've wrapped these in a macro. It also makes their definitions a tad simpler.