Added fail() method to utils