Set attributes of post *before* passing it to psm callback