Add 'isDirectory' and 'list' to transport API