Adding more general configuration mechanism.