Update code to match sourcemod 1.7 syntax.