public Object callFunc(String funcname,Elements context) throws NoSuchFunctionException {
try {
Method function = Functions.class.getMethod(funcname,Elements.class);
return function.invoke(SingletonProducer.getInstance().getFunctions(),context);
} catch (NoSuchMethodException e) {
throw new NoSuchFunctionException("This function is not supported");
} catch (Exception e1) {
throw new NoSuchFunctionException(e1.getMessage());
}
}