Add reset function to AFDS