Fixed missing return value.