* @return the function instance.
* @throws NoSuchFunctionException
*/
public Function getFunction(String functionName) throws NoSuchFunctionException {
if (!members.containsKey(functionName)) {
throw new NoSuchFunctionException("Can not find function " + functionName + " in library " + name + " (" + prefix + ")");
}
return members.get(functionName);
}