Fixed GetAttributes again.