Add explicit return statements to examples

See #9