Updated the examples to use strict mode.