Stephen's prototype regression classes, to be added to analysis module