@taketwo @jspricke There is a problem in the few lines above. The namespace bracket can't be closed at the end (there are more brackets than needed and not at the right place).

I can't find where it comes from; can you ?
Put a closing bracket at line 267; it closes the namespace bracket.
Move it to line 273 and it doesn't close the namespace bracket !!