Sorry, there is no proper way to do it now, unless you have the ability to modify the source code directly.