def METHOD_NAME(self):
    """Before template render hook
    """
    super(MethodFolderContentsView, self).METHOD_NAME()
    # Render the Add button if the user has the AddMethod permission
    if check_permission(AddMethod, self.context):
        self.context_actions[_("Add")] = {
            "url": "createObject?type_name=Method",
            "icon": "++resource++bika.lims.images/add.png"
        }