Remove Ccd::*.build method, use constructor instead. Improve detect_xsi_type.