Converted to SDK version 0.7.0