Moguri's Component System Question

Moguri’s Component System seems a really usefull tool, however i’m currently experiencing a bizarre error.
I am trying to set:

scene = bge.logic.getCurrentScene()

Now, i think it may be an error with the build, or actually just doesn’t work in Components.

Any ideas?
Here’s the build -

you import the bge before?

import bge
scene = bge.logic.getCurrentScene()

Works fine on my build.

yes, i think i fixed it - set the scene variable inside the class.