Might be nicer to just use `.fail(function (){ ... })`