Fixed call to removed plugin function