Enabling method calls on PT objects via Java reflection.