I have a class and constructor that looks like this:

```
def init(log, edge):
    if edge:
        return Helper(log, edge)
    return BookableProduct(log)
class BookableProduct():
    # Add helper to property bag
    def __init__(self, log, Kernel):
        self.log = log
        self.Kernel = Kernel

```

I just added the Kernel-argument and it casues an error.

If I try to invoke it like this:

```
import BookableProduct
log = PyLogger.get(edge.Controller.Kernel)
BookableProduct.init(log, edge)

```

I get the error:

```
2016-01-04 15:12:33,422 [38] ERROR Panagora.WebCore.Scripting.DefaultRuntimeExtensionsManager - Unable to run script C:\dev\..\Extensions\Global.py
Microsoft.Scripting.ArgumentTypeException: __init__() takes exactly 3 arguments (2 given)

```

But if I try to run it like this:

```
import BookableProduct
log = PyLogger.get(edge.Controller.Kernel)
BookableProduct.init(log, edge, edge.Controller.Kernel)

```

I get the following error:

```
2016-01-04 15:12:20,117 [36] ERROR Panagora.WebCore.Scripting.DefaultRuntimeExtensionsManager - Unable to run script C:\dev\git-sites\..\Extensions\Global.py
Microsoft.Scripting.ArgumentTypeException: init() takes exactly 2 arguments (3 given)

```