[tor-commits] [sbws/master] Move functions to methods