Rename `default_attributes` to `_default_attributes`

It is internal use only. This is to avoid conflicting with users' method
names. Fixes #17458