Remove 'spnet' dependency and replace with Parameter and Limit classes.