Updated plugin registration to allow for arbitrary amount of triggers