That works except for the case of 

```
class Foo
  private
end
```

In which case body.children returns nil and `:private` instead of nodes.