Flexible Randomization-Based Inference