refs #8034. More removal of code.

Take out unnecessary block of code and imports. Everything still works fine.