Update examples so they all run correctly.