Simplify code.
Fix slide example.