Add the ability to configure service states.