Add fail(). Closes #47