Quite a bit of API was accidentally not exported but apparently nobody was using it. Part-of: <!1437>