These functions are currently undocumented. Please refer to the source and source comments if you feel you need to use them.
getLeaves(x)