Canonical formulation of the self-dual Yang-Mills system: Algebras and hierarchies.