Use helper func to minimize overhead of autoclearing type.