take read-only properties into account