It seems to be a scoping issue - The `define` block had access to `user_class` if I passed it to the method, but not access to call the method itself.