Adding function to render require for label.