Also, remove superfluous checks in Valid for invalid parts that are present, which is impossible to have since Parts ensures all parts are valid, and ParseRef ensures the ref is valid.