Clean up autonomous code.