Revert "Update .getattributes"

This reverts commit c2d3733e8019caa4ce1d7533e1da5f3c15199074.