Added missing error return.