Optimizer was not parsing AMD object callbacks correctly