You could also use a `_.chain(root.apis).filter(...)...` in order to filter those out that don't match the if statement below.