Consolidate boilerplate code among the table API handlers.
Handle static variables in a consistent way for the artifact cache.
Setup all of the table API handlers to benefit from cached sorting once it's implemented.