Kludge to make size negotiation work