api.modifyClass soms(!) werkt niet

I’m having an issue with modifyClass too, not sure if it is related?: Issues overriding getters in a controller