Added partial code for transmedia query support.