[Misc] Refactoring book's commands