Fix examples so they compile