Improve how api/contact is set.