Minor fixes to make episodes work with the latest SDK.
Merge pull request #1 from pavelgj/cleanup

Minor fixes to make episodes work with the latest SDK.