Referencing the db function directly instead of through a proxy function