public function __call($method, $args)
{
if (array_key_exists($method, $this->importedFunctions)) {
$args[] = $this;
return call_user_func_array(array($this->importedFunctions[$method], $method), $args);
}
throw new BadMethodCallException('Call to undefined method/class function: ' . $method);
}