Correct errors affecting all_descendants of BMM_CLASS.