I understand the maintainability issue. It just weird to put something in layout(), slowing down (a bit of course) any note addition, note pitch change etc...