Remove unused flatten dependency.