Remove unneeded use statements and unneeded data directory.