Minimal version check

Simpler than dynamically loading a module based on the api version as this was causing issues with rails caching the class