Gravitational algebras and the generalized second law | Synapse