Reduce thrown exceptions on boolean returns for api.