model_routines: unnecessary functions have been thrown away