Removing unnecessary models