Fix API usage.