add callback method to renderer plugin