New method for defining plugins