Allow passing of core through query.