Added a needed return statement to a method.