Sdk enhancements

@antonbk @shunchu beat this up. I have braced myself. ;)
Again I do not understand why we set `this.context` and `instance.context`