Ported Phillip's Model class