Use correct type for method call.

Refs #9923