Implmented bail feature.