Do a little housekeeping on the afuns.