Add ANS structure support (#128)