Switched to non-deprecated attribute