Fix incorrect use of property declaration. Refs #8720.