Refactor core.Postgres -> session.Session