Fix deprecated syntax warning.