Book Directory: minor refactoring