Make ast a getter/setter