Added allow()/deny() input sanity checking.