Fixed a missing return statement.