Removing use of deprecated property.