Added support for the knapsack plugin