Fiddling with reflection and such to make calls work.