Enable/disable methods added. Code doc updated.