[MAT-54] Added code so all DOGMA functions have auto-genereated entry points that check inputs for null.