Changes 'length' to 'size' for consistency