metaprogramming ftw! generate_token is now dynamically added to opentok