Updated for GM syntax.