Fix example broken due to missing 'new'