Remove unecessary fail function.