Removes unnecessary return statement.