Fixed FC023: Prefer conditional attributes.