Minor fixes to make episodes work with the latest SDK.