Code refactoring: relationships of workbook