WIP #882 Add more hooks v2

PMDataHandler::insert_pm();