Some updates to pstd