Output block should be based upon the block which is outputting, not which one has a session.