Adds a restriction plugin