Added support for disabled state

Added support for disabled state including disabled class configuration option.