Fix examples and lint warning.