elgg REST API supports static methods

Hey,

I noticed that the elgg_ws_expose_function support only static functions, that's not good enough for my purpose, actually that's a very bad practice not allow OOP programing.

I checked it out a little bit, and found the reason:

In file - web_services.php.

 In the - execute_method function.

I've seen the following lines of code:

// @todo remove the need for eval()

$result = eval("return $function($serialised_parameters);");

The proper solution will be using call_user_func_array insted of using eval, and I did it in my source code, but the comment above concerns me.

Do you have any other solution? or should I just commit a pull request of me changes?