Clean up query code style
Move internal_retroflex to a static method