Revert "Remove unnecessary dependencies."

This reverts commit ff7c3c61f692ff9c04759f6b8d7ee594169448b8.