Adds CaQL query support to Medea.:w