This stuff is the query opts populate stuff, and its not yet finished.