Remove incorrect API usage