Updated library. Adding exception to handle API method not found. Adding magic method to call API functions from the wrapper.