Removed uneeeded code and directories.