@martinsk I changed it to:
ok = erlang:apply(Mod, Func, Args);

@jaynel it's actually dynamic, apply here is used to invoke a callback in erl_services.
We fetch the 'feedback' env value, and expect a list of functions for feedback handling.
For now - it's token_update & token_error.
I spoke with Martin about it, and we agreed that for now this should be a fair approach.