Set ast state. #25