Updated old API method call.