Oh I have one additional question.  It seems that this addAlias function should also be checking if the path exists.  Do you forsee anyone putting in a context wrapper that doesn't support the is_dir function..  or stat?  If so then I obviously can't put that check in here.