Update examples in order to correct a compile error.