Added self as parameter for generatable processes, which is used to
create generators.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>