Dispatch on SQL subclasses
Use resources