add autocode packet class code