Fixed generation of frames via Session API methods.