Changed size methods to byteSize and added a size method to field collections.