Added support for saved segments.
Merge pull request #52 from rafaelbac/master

Added support for saved segments.