Fixed enable/disable check.
Added few more helper functions to our config class.