Refactors virtualization.