Add the callback to the class
extract plain HTML from the php class