updated 2.0 support for objc