In which of the following sentences is the underlined word a pronoun?

A. Those are James' favorite shoes.
B. These apples are rotten.
C. Making these cookies wasn't easy.
D. We must return those books to the library