Making things OO for Pyro4