I'd rather not raise an exception here as it is a generic method. I have changed it to use None, however. Thanks for the suggestion.