Speech doc functionality with mode line indicator
Refactor