What the addition of `getAttribute()` for consistency with other code?