REF: First pass at pulling optimization out of LikelihoodModel.