Remove deprecated type constants from Connection class.