[#23] Add support for all PhoneGap APIs.