Add imperative style example code.