Added execution of named queries