Change size attribute to length to match beta spec