Add share functions.