opt: fix examples so they compile.