Symmetries near the horizon