Fixes references to deprecated defaultAttrs