Added a publicFields variable in the models, queries now uses that
variable