allow old-style Python classes to be called from larch