Change disable/enable flags to booleans.