Fix example code for Symphony 2.3 and later.