We consider the algebra of spatial diffeomorphisms and gauge transformations
in the canonical formalism of General Relativity in the Ashtekar and ADM
variables. Modifying the Poisson bracket by including surface terms in
accordance with our previous proposal allows us to consider all local
functionals as differentiable. We show that closure of the algebra under
consideration can be achieved by choosing surface terms in the expressions for
the generators prior to imposing any boundary conditions. An essential point is
that the Poisson structure in the Ashtekar formalism differs from the canonical
one by boundary terms.Comment: 19 pages, Latex, amsfonts.sty, amssymb.st