Maybe :) I do not really like the idea of returning not the same type of object in different circonstances. Undefined is not perfect but in the end I felt more comfortable with it... I am perfectly happy to change if there is a consensus on what should be returned.