Fix insets

Why just any PredictiveModel?  The same code will work for any Java class.  Code should be as generic as possible unless there is a good reason for it not to be.