Refined code hooks - to target prog-mode separate to ruby-mode
Sentence definition refinement