Added some contact functions.