Adding a define to diamond module for configuring plugins