Introduce {Boolean, Integer}Optional to avoid manually parsing bool/int params