Compatibility with CocoonJS 2.0