Added 'in' method for on the fly directory queries