Make def private

Closes #15515