update documentation for AFFs
define AFF variables as consts, so as to further protect them from misuse