Merge enable/disable functionality.