IMPROVED: hook list_resource/1 -> list_resource/2 to pass Options
remove unused module imports