Adding traits controller for boolean values.