Starting to use a Type in the Query model