Dynamically generate QuerySets at runtime.