Database queries and changes to Operator.