Rewriting the photopoint model.