Implements adding contact.