Updated root method.