> Do you have something specific in mind? I don't know enough about the internals to have any particular suggestions.
Keeping functions properly local is just one of those "motherhood and apple pie" principles that is much easier to follow if it is done consistently from the start.