Refactor PidStatus construction