Some more functions, undocumented for now.