Trim down request and move session stuff into temporary tables.
Revise ducktyping to only make one schema call.