Spec field of BetType modified to be use in Postgres.