Prepare string queries in their own class.