Add some functions fo class wpdb.