Assignment and reference compatibility