He imagined being the hero in his book.