Consistent query formatting.