Fix the prototype for the Object class

refs #8065