Fixed examples.
Merge pull request #164 from dozed/scala_2.10

Fixed examples.
merge upstream/scala_2.10
#161 comments addressed