This process may take a while.