Remove capabilities idea (it's unnecessary).
Make client code work even after redirection.