Fixed return value for method. #6095