Update examples so that they actually work.