Created helper function to replace Class html parsers