(I know it's not your fault, I'm more or less just complaining)

That's a weird API.