[tor-commits] [stem/master] Move three methods out of `BaseController` to reuse them