Use correct prototype to set property.