Share function.