Fixed broken code snippets (take 4)