Added canonical_pcs parameter.