Make linesize a per-reference property