Added implementations to queries.