Messing with machine learning and type.