Fixes #3232 -- Tag all class properties `static`

(and remove duplicate `context` assigment)