Added a ban function.