Removed unnecessary VM code