Adding termination of instances