Validate class allocation requirements.