Added flexibility to `pass` method.