Added missing method calculateSize.