Fix broken GetChildren method

The `GetInternals` method was called `GetChildren` by accident. This meant
that calling `GetChildren` produced an incorrect result (and made
`GetInternals` unavailable).