Use implicits for bool->int & int->bool