Added query execution to the "create" operations.