Added getContacts functionality.