Changed method argument type to const. Refs #9949.