add support for direction in resource listing