Additional classes to handle the queries and repositories tables.