Remove pan

Closes #24171.
Remove catdoc

Closes #26616.