InstanceUtil cleanup

done in #357