Clean up resources
Remove multi mode support