Adding RegisterForFrame() method

Adding method to ensure context is registered for a frame and kept alive