Added ability to configure what non-middleware features are configured.

Change-Id: I4a1e5264772f924cf8d9ef476c2662f847331b23