Versions of Advices and Queries