Done integer, except negotiateDefault and negotiateDbNull. Todo: rename usage of convert to purify