Remove unnecessary double passing around of attributes of a book