Remove references to model