Fix for accidental regression of maxSize() methods