Implement the direction and visual run query methods.