Moose-like method modifiers as cocktailJS annotations (see http://cocktailjs.github.io/ )