Repairs to BEGIN/END markers for book inclusion.