Cleaned up unused code and files.