Optional query.