Fix code examples (4.37 and 4.38)

Fix for #126 and #127