Move linear models to subclass of Net