Strong typing rendering sessions