Cleaned up resource management for TauPWrapper objs