Sdk enhancements

@antonbk @shunchu beat this up. I have embraced myself. ;)