Remove uneeded stuff from model.