Add InputSourceManager class.