What is the purpose of having $contact in this class?