make it possible to disable implicit join references.

Closes #9712.