Added fallback for calculating package size requirements.
Removed unused class.