Added sent PM hook and a bunch of others for testing