Updating deprecated size calls