spell reagent and bard instrument refactoring after the document formatting