Add classes for NumPy and SciPy package dependencies