Added failure case return code.