Added Contacts API subroutines.