Prototyped book management code.