Defining queries for the new transformed types