Added back functionality for ThreadActivity.