Split into queries/commands.